package com.wms.project.business.itemOwner.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wms.framework.web.domain.BaseEntity;

/**
 * 货主表 item_owner
 * 
 * @author zhangp
 * @date 2019-07-29
 */
public class ItemOwner extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键id */
	private Long id;
	/** 货主名称 */
	private String itemOwnerName;
	/** 联系人 */
	private String linkmanName;
	/** 联系人电话 */
	private String linkmanMobile;
	/** 所属仓库id */
	private Long warehouseId;
	/** 创建人 */
	private Long creatorId;
	/** 更新人 */
	private Long updatorId;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setItemOwnerName(String itemOwnerName) 
	{
		this.itemOwnerName = itemOwnerName;
	}

	public String getItemOwnerName() 
	{
		return itemOwnerName;
	}
	public void setLinkmanName(String linkmanName) 
	{
		this.linkmanName = linkmanName;
	}

	public String getLinkmanName() 
	{
		return linkmanName;
	}
	public void setLinkmanMobile(String linkmanMobile) 
	{
		this.linkmanMobile = linkmanMobile;
	}

	public String getLinkmanMobile() 
	{
		return linkmanMobile;
	}
	public void setWarehouseId(Long warehouseId) 
	{
		this.warehouseId = warehouseId;
	}

	public Long getWarehouseId() 
	{
		return warehouseId;
	}
	public void setCreatorId(Long creatorId) 
	{
		this.creatorId = creatorId;
	}

	public Long getCreatorId() 
	{
		return creatorId;
	}
	public void setUpdatorId(Long updatorId) 
	{
		this.updatorId = updatorId;
	}

	public Long getUpdatorId() 
	{
		return updatorId;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("itemOwnerName", getItemOwnerName())
            .append("linkmanName", getLinkmanName())
            .append("linkmanMobile", getLinkmanMobile())
            .append("warehouseId", getWarehouseId())
            .append("remark", getRemark())
            .append("creatorId", getCreatorId())
            .append("createTime", getCreateTime())
            .append("updatorId", getUpdatorId())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
